import romAxios from "../request.js";

export const loginApi = async (data) => {
	const res = await romAxios.requestJson(romAxios.post, "/admin/user/login", data);
	return res; // 由于成功拦截器返回的是 response.data，这里 res 是 response.data
};
